{% extends "layout.html" %}
{% block title %}
Hello {% if name %}{{ name }}{% else %}there{% endif %}!
{% endblock %}
{% block content %}
    {% if name %}
        <span class="message">Hello there, {{ name }}!</span> It's {{ time_now.strftime("%A, %B %d, %Y at %X") }}.
    {% else %}
        <span class="message">What's your name? Provide it after /hello/ in the URL.</span>
    {% endif %}
{% endblock %}
